﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1.Models
{
   public  class Giraffs:Parnokopitnie 
    {
        #region Fields
        ///Безусловная инициализация
        private bool m_HaveLongNeck = default(bool);
        private bool m_HaveSmallHorn = default(bool);
        private bool m_HaveSpottyColour = default(bool);
        #endregion

       #region constructor
       public Giraffs()
		{
		    /// Инициализация свойств объекта
            m_HaveLongNeck = true;
            m_HaveSmallHorn = true;   ///Маленькие рожки
            m_HaveSpottyColour = true;
        }
		#endregion
        
        #region Properties
        ///Пример полной формы декларации свойства
        ///
       public bool HaveLongNeck
        {
            get
            {
                return m_HaveLongNeck;
            }
            set
            {
                m_HaveLongNeck = value;
            }
        }

       public bool HaveSmallHorn
       {
           get
           {
               return m_HaveSmallHorn;
           }
           set
           {
               m_HaveSmallHorn = value;
           }
       }

       public bool HaveSpottyColour
       {
           get
           {
               return m_HaveSpottyColour;
           }
           set
           {
               m_HaveSpottyColour = value;
           }
       }
       #endregion

       
    }
}
